using TerritoryGame.Domain.Entities;

namespace TerritoryGame.Domain.Repositories;

public interface IGameRepository
{
    Task<Game?> GetByIdAsync(Guid id);
    Task<Game?> GetByRoomIdAsync(Guid roomId);
    Task<Game> AddAsync(Game game);
    Task<Game> UpdateAsync(Game game);
    Task DeleteAsync(Guid id);
    Task<IEnumerable<Game>> GetActiveGamesAsync();
}
